package gwtappcontainer.server.apis.home;

import gwtappcontainer.shared.apis.home.FlashNewsProp;

import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;

@Entity
class FlashNewsEntity {
	//this is currently not being used but plan is to add this feature back
	@Id Long id;
	public boolean show;
	public String flashNewsHtml;
	
	public FlashNewsProp getFlashNewsProp() {
		FlashNewsProp fnp = new FlashNewsProp();
		
		fnp.show = show;
		fnp.flashNewsHtml = flashNewsHtml;
		
		return fnp;
	}
}
